Lawn Tractor Question

On the wire thats going to the solenoid make sure it has at least 9 volts on it when it cuts off you may have a wiring harness or corrosion problem, the solenoid won't hold open otherwise.