Make sure not to get stuck waiting on a Bluetooth socket.
Remove unused import.
Minimize locking and calls to disconnected in BT interface.
Avoid leaking a BT socket if source is stopped right after starting.