Shutdown the game from the same thread that started it