Kodi hangs when switching airplay.

Hello.
I have some strange bug using airplay.
Bonjour is installed, ZaroConf is enabled, Video and pictures are disabled on Kodi.
When I start any music on iOS and then switch to Kodi device (in streaming menu) – everything works fine. But if I try to switch device from Kodi to iOS device and after that fromi iOS device back to Kodi – Kodi hangs.
Tried this bug on iOS 9.3.5 and iOS 10 on iPhone 5, iPhone 5S, iPad mini 3, iPad 3 on two different PCs (one works under Windows 7 and another – on Windows 10).
Tried on Kodi 16.1 and 17 – the same situation.
How to solve that issue?
Here is a Kodi log:
https://www.dropbox.com/s/52ei88gxsoe914m/kodi.log?dl=0