Android smack 4.2.2 available

When i kill app in android i send presence unavailable but still server shows user as available please help…if anybody know about this issue

Are you certain this presence stanza is reaching the server when you kill the app?

i send presence stanza on onstopped method…server shows user unavalable…but after app kills user presence is shown available…This behavior is not their in smack 4.1 but smack 4.2 has this unusual behavior