Check ofxXMPPConnected before disconnecting / avoids crash / needs memory check