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 branch 'feature/6732_win32_proc_handles' into develop