Fix bug that may cause premature delete of XmppClientConection.

Change-Id: If284af67c9bb226bd0c88522b4320f22a89ddc73