That's just one part of the issue - even after forcefully dropping Linux's caches, WSL has been unable to reclaim the memory back reliably. There has been a recent update that claims to finally fix this.
You might find this package helpful: https://github.com/arkane-systems/wsl-drop-cache