I have an idea but it is more a guess so take it with a grain of salt. My guess is when you have something paired using A2DP you can’t turn it off unless you unpair the device.
I think for anything else you’d need to open a Developer support request and give all the information so they can track any issue down.
Ron
Samsung Developer Program