Previous attempt to fix device list refresh deadlocks wasn't setting the iRefreshing flag, leading to all devices being removed at the end of a refresh