Make sure the XMPP connection is properly stored before actually trying
to connect. 
Contain XMPP connection errors more effectivily.