What is this trying to achieve? Making sure that the hosts are there? If so, you should perhaps consider using the provider ```.validate()``` method to ensure that everything is discovered. I believe it also runs the Refresh first.