Its possible the vent hole in your fuel filler cap is blocked.This creates a partial vaccum in the tank when fuel is used,eventually the fuel will no longer flow.Next time it does it,remove the cap and retry.
caine
December 2008
I can answer this question...
Why does my Yamaha quit running when the gas tank is half empty?