How to check which COM port is connected to device and which port is free?