Hi all, the problem came back.
This time, grounding is not the issue. If I turn off the steam boiler, the pump stops. I found out after a while that if I turn back on the steam boiler when the machine is idling hot, then the pumps run for a short period of time, I hear a click, and then the pump stops.
That makes me think that there might be a problem with the electronics of the solenoid valve. What do you think? How could I test this?
Thanks!