Refactor Game.removePlayer() to fix a deadlock.