Fix a bug with game not terminating.