Fix disconnecting the player