Modified test to kill off an iteration if the amount of expended time exceeds a certain limit vs. just the number of attempts, which might take considerable time