aborting loop on finding