This is the first part of the work to avoid Bluetooth connection issues caused by limits on the number of open connection.