Added attempts to connect to the bluetooth device