Auto log out from xmpp