I am using smack 4.2 version with ejabberd server. After I upgraded this to version from smack 4.1.9 there is a problem occured. I am turning on application and my status being online after I closing internet connection or killing application or even uninstalling the app my status keeping stay online for 5 min. The ping time on server side is just 20 seconds and everything is works fine on IOS side. So can someone explain me what can be cause of this issue.
Thanks in advance,