Added block wait.
Added lost in action XmppClient::disconnect()