Fix bug that may cause premature delete of XmppClientConection.

Change-Id: I1267a21284ba85194c7cc7b49a7d6883d8355eb0