title: XMPP Logout (Smack API) without disconnecting with the server
body: <p>I am using smack API to connect to Openfire server. Am able to create user, login and exchange message.
  After logout I want my activity to be finished( user has to come to home screen) without disconnecting with the server.<br>
  Any one have used Smack API for this kind of scenario?</p>