Close process handle after memory check on Windows. Refs #6732

If it is not closed then every call to verify the free memory leaves
open another process handle and very slowly leaks resources.
Merge remote-tracking branch 'origin/feature/6732_win32_proc_handles'