quit out of the loop