Adding xmpp stream end message at disconnect.