Hydraulic cylinders with pilot operated check valves