Piston machine maintenance