added reconnect functionality
disabled but kept xmpp adapter test