Introducing some delay into shutdown to more reliably process the WM_QUIT.
Merge pull request #3094 from SickheadGames/testsfix

Fix Visual Unit Test Shutdown