It can be an obstructed fuel tank vent hose (right next to the filler hose, but in 'BB's' case even a replacement filler and vent hose failed to cure this. So, on 'BB' I've learned that keeping the pump handle at about 5:00 position and on slowest fill she won't click off prematurely.
Best of luck!