fix xmpp reconnect