It's probably the safety cut off solenoid located on the bottom of the fuel bowl(if it has one) the coil heats up then fails, after it cools off it starts and will run again until it heats up again..... You can take it off and cut off the plunger, then re-install it(may get a backfire when you shut off mower) but it will run like the wind