Android - Force Disconnection of Named Bluetooth Devices

I am wondering how I can force my phone to disconnect from a bluetooth device. The device is not paired, or bonded, just "connected."

If I send tons of messages through the bluetooth, sometimes I get stuck connected to a device, and the below code won't disconnect me, which I call after every successful write.

myGatt = null;

So, then i'm looking for a foolproof way to disconnect by finding the connected device before my scan starts, then disconnecting it.

bluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE)
List<BluetoothDevice> connectedDevices = new ArrayList<>();
connectedDevices = bluetoothManager.getConnectedDevices(BluetoothProfile.GATT);
for(BluetoothDevice connectedDevice : connectedDevices){
    Log.e("Connected Device", "Connected to: " + connectedDevice.getName());

I see my device is connected to my phone by it's name, but cannot disconnect it unless I reset my bluetooth. I'm at a loss here, I have searched for days and can't find a way to do this. Maybe there is a hidden method? I've tried the hidden "refresh" method, but that doesn't do anything. Ideas?