Adding feature to leave a game as spectator.