Fixed xmppClient blocking indefinitely when invalid credentials are supplied