public void DeleteGame(int gameId, Team team)
 {
     lock (_gameLock)
     {
         Game game = getGame(gameId);
         checkGameAccess(game, team);
         game.CheckGameDeletable();
         _games.Remove(game.GameId);
         game.Dispose();
     }
 }