Fixed removal of shutdown call on Win32.