close once we find one match