g10: Break out of the loop earlier.