Merge pull request #3818 from RosettaCommons/roccomoretti/win_handle_leak
Foldit: Fix handle leak on Windows.
Unlike Posix, on Windows you need to explicit close the handle after joining. (see e.g. https://stackoverflow.com/q/14211958/3022952).
This should hopefully address the issues seen in https://fold.it/portal/node/2004487