Try to run proc repeatedly until options[:until] returns true.