Fix bug that may cause premature delete of XmppClientConection.

Change-Id: I59d5f780c3f5a481325066b575c84317a7eed409