An engine comprises a housing that defines a hollow piston cavity that is separated from a gas passage by a valve seat. The housing further defines a biasing hydraulic cavity and a control hydraulic cavity. A gas valve member is also included in the engine and is movable relative to the valve seat between an open position at which the hollow piston cavity is open to the gas passage and a closed position in which the hollow piston cavity is blocked from the gas passage. The gas valve member includes a ring mounted on a valve piece and a retainer positioned between the ring and the valve piece. A closing hydraulic surface is included on the gas valve member and is exposed to liquid pressure in the biasing hydraulic cavity.