Fix race condition in XmppServerConnection cleanup.

Change-Id: I0ed6028f1631beb675e5da6d63f1d64ed2b97f9e