I found the reason why bot hangs. It hangs when it loses connection to the ejabberd server (may be the reason is server reboot). The bug is in the SleekXMPP code, the thread which processes events, exit on reconnect, and don't started again.
I think, the problem can be fixed, but we have to fork SleekXMPP and hope that patches will be accepted to the upstream.
I found the reason why bot hangs. It hangs when it loses connection to the ejabberd server (may be the reason is server reboot). The bug is in the SleekXMPP code, the thread which processes events, exit on reconnect, and don't started again.
I think, the problem can be fixed, but we have to fork SleekXMPP and hope that patches will be accepted to the upstream.