ESP32 Bluetooth sockets

Hi All,
My first post here.

I have successfully used BluetoothSerial to communicate between an ESP32 and a PC/Mac running python with the SPP profile.

For seemingly random reasons I get a "semaphore timeout" issue under windows when I try to open the bluetooth com port. I see lots of people face this problem.... but no definitive resolution seems to be known.

I was wondering if anyone has had success using sockets over bluetooth for comms between an ESP32 and python on pc/mac.

Thanks in advance for any information.

Regards
Greg