Updating ResultsIT class by excluding br.close from while scope