delete the game data before closing the master