RE: Ryobi 31 cc dying after 12 minute run
Right after it stops, take the fuel tank cap off and see if it will draw fuel and start. Plug in a different tank while the condition is present. This will totaly eliminate the tank and plumbing.
It will be a process of elimination, usually it will turn out to be something very simple.
Just my .02$