[accessories] Disconnect bluetooth device only when is has been connected before.