player: Avoid trying to join the player thread from itself