handle reconnecting to same ip
when internet connectivity is restored, reconnect to xmpp