Bluetooth: Fix sleeping function in RFCOMM within invalid context