Remove redundant synchronization - already have a lock.
Remove unused variable.
If BT adapter is disabled, wait until it is enabled before connecting.

Fixed #199.