added checks to check_networks task