Fix searching in DomainCollector

 - set running variables to break from while loops