Sometimes the vent in the gas cap plugs up and it starves for fuel. Take the cap off and see if it runs longer than two minutes.