Win32: Use a hacky workaround to prevent a rare hang when starting up.
Make the bool a class member instead.
Merge pull request #5184 from thedax/win32RareHangHack

Win32: Use a hacky workaround to prevent a rare hang when starting up.