allow reconnect for xmpp