CloseHandle() threads on win32