Fix bug that may cause premature delete of XmppClientConection.

Change-Id: I23cd58ccaf2182c0a1f77184d9b15908411d925a