Break a loop once the work is done.