Smack receive/send message lock

Hi. I’m using version Smack 4.1.8 on Android.

Sometimes there is a freeze/lock when sending or receiving packets(but XMPPTCPConnection.isConnected() and XMPPTCPConnection.isAuthenticated() return true). This happens rarely, but it causes problems.

I’m trying to disconnect and then catch a lock when call method XMPPTCPConnection.instantShutdown() and result below on screen.
Any ideas why “Smack Reader (” + getConnectionCounter() + “)” locking receiving/sending packets?

Some logs https://gist.github.com/anonymous/d3922194b0bc64f716ac8d7b30f5f62f