w32: Don't use CloseHandle on an arbitrary integer.