The next time it just "starts" to die, quickly loosen the fuel cap. Just like putting your finger on the tip of a straw with water in it, the water won't leave the straw until you remove your finger so air will allow the water to go out. Your fuel cap is vented and the vent might be blocked (like your finger on the straw)