[Azoth Xoox] Another possible fix for #1212.

Call disconnectFromServer() in error handler if last client state is
SOffline. QXmpp always starts its reconnect timer when it encounters
socket error, so this is kind of a workaround.