It's possible you have an issue with your speed sensor. I don't know what machine you have, but mine has one that screws into the bell housing and gets a pickup off the fly wheel. If the sensor is bad, the computer won't think the motor is running and shut down the fuel solenoid.
One possibility.