Fixed process handles going rogue on Windows 8 x64.