When client facing network failure Openfire taked toom much time to update that user's status from online to offline.
I shoud be update as soon as client disconnected from network.
While openfire taked 60-180 seconds to update user status because of this user during this 60-180 secons client lossed messages.