Fix Visual Unit Test Shutdown

This PR is an attempt to fix the false failed visual unit tests.

I suspect we're exiting quick enough that the WM_QUIT isn't in the message queue in time to consume it.  This introduces a tiny delay into shutdown in hopes we can more reliably process the WM_QUIT.