Pilot-operated regulator