[BUG] Libzt android app crash

Hello there, hope someone wil lbe able to help me (discuss forum looks like pretty dead unfortunately)
I have Android app with libzt integrated. Works fine, but I need to have ability to shut down my node.
Problem is next - call to node.stop() crashing my app and I see this in adb:

Thread[38,tid=29424,Native,Thread*=0xb40000745eaa28b0,peer=0x14705c30,"CapacitorPlugins"] attempting to detach while still running code

Where do I need to start debugging and how can I fix this?