Fix race condition in XmppServerConnection cleanup.

Change-Id: I63bc84e164610498e01512602a604e91fd1fb932