Suggest to use `_setProfileConnected` of Bluetooth to clear connection states. And getting all supported profiles using `Bluetooth.Profiles` is a more robust way.