What SidecarFlip is saying is that you have to check for spark when it dies...
When it cools down it's too late...problem clears itself.
Also check that you gas cap vent is not plugged.
Loosen it some and seem if it will mow longer than 30 minutes...
Of course if tank is too full it could leak out....not good