Line 2 will never be invocked when device can't connect (because it is out of range, for example).
IN this case the BlueZ stack will throw an exception -> 'org.bluez.Error.Failed: Software caused connection abort', but does not respect the timeout sit in the second line.
'await device.ConnectAsync(); await device.WaitForPropertyValueAsync("Connected", value: true, timeout);'
Line 2 will never be invocked when device can't connect (because it is out of range, for example). IN this case the BlueZ stack will throw an exception -> 'org.bluez.Error.Failed: Software caused connection abort', but does not respect the timeout sit in the second line.