Javaclient 5.0.1 Upgrade - Phone unlock and app launching issues


After upgrading to java client library version 5.0.1, I’m facing issues when trying to launch app.
io.appium.Unlock is called multiple times, and like a deadlock, it is stuck trying to call ‘unlock’ again and again.

If I delete unlock app manually, during this “dead lock” then it reinstalls unlock app and is able to launch app.

Are there any known issues for this? Anyone encountered this issue?