Bluetooth connection is not disabled when in debug mode