Fix bug that may cause premature delete of XmppClientConection.

Change-Id: If20437f4551790be5bf87c46661bdc1aa2352b17