can now successfully shutdown the game