Stop the game when the goal page is reached.