I can set an arbitrary maximum number of iterations as you suggested. there are about 6500 bugs marked as intermittent failures in bugzilla, maybe I can set a maximum of 30 iterations (i.e. 15k bugs fetched) as safe guard. unfortunately there is nothing I can use to avoid this evil loop