Fix bug that may cause premature delete of XmppClientConection.

Change-Id: I9c890d8bb59e657a8d1e0a3362d267c63a070a2c