Fix and relax locking
Only connected devices are available devices