Audio dropout with Apple Air Pods

I’m having some trouble with audio dropping out when my app is connected to Air Pods, and also during device changes to/from Air Pods. It happens pretty frequently, and only when using Air Pods. The only cure seems to be to disconnect the Air Pods from the device and restart the app. I am wondering if this is something that has been noticed by anyone else.