enters reconnect loop as "reconnecting" on socket close