protected final void cancelConnection(@NonNull final BluetoothDevice device) {
		if (server != null &&
				(Build.VERSION.SDK_INT < Build.VERSION_CODES.S ||
				context.checkCallingOrSelfPermission(Manifest.permission.BLUETOOTH_CONNECT) == PackageManager.PERMISSION_GRANTED)) {
			server.cancelConnection(device);
		}
	}
Cancels server connection.
<p>
As we're not calling {@link BluetoothGattServer#connect(BluetoothDevice, boolean)}, cancelling
the connection should not be required. On the other hand, perhaps we should call connect(..).
Can also be called in onDeviceConnectedToServer to refuse a device connection without accepting it first.
If you already have a managed connection and want to disconnect, you can use the disconnect request on the connection.
@param device The device to cancel connection to.
ble/src/main/java/no/nordicsemi/android/ble/BleServerManager.java