Global lock around channel open.

Conflicts:
	src/osx/BluetoothWorker.mm