[Bluetooth] Fix deadlock in the L2CAP layer