break out of the loop early