add local check, when you have a huge amount of devices, it may take a long time to check if they alive, local check could check just selected part of tree