bug when joining after a failed connection