Solenoid valve in the liquid line