Fix concurrency issue when removing listeners from GameLogic on game end