Thanks,
So, will autoreconnect work for this situation or i have to reconnect manually?
In otherwords can i handle it in ConnectionListener.connectionClosedOnError and reconnect? (i dont think so, bcoz parameter is Exception not Error and presence goes to "unavailabe" not disconnect from server).