Fixed waiting for connections on slower networks for xmpp test