Hi Andrey,
We could not able to replicate the issue, but did some changes based on logs. Can you please check with the attached library.
Also, please share a stand alone setup to replicate the issues.
(Please visit the site to view this file)
Thanks,
Praveen