Bluetooth: Fix crash in bluez handler