Check the End of Stroke switch for good contact - some wiping action (the movement of both blades while closing) while still maintaining a good gap when open.
But more than likely, you have a cold solder on the male connector pins of J1 or J2 on the solenoid driver board in the head.