Better handling of a player logging out.