You have some crap floating around in the fuel tank that takes a while to get sucked into the fuel intake line. It is big enough to plug the line and will not flow through into the filter. When you shut the engine down it drops off and will float around until the fuel flow pulls it back into the discharge again.
If you can see into the tank you can use a turkey baster with a piece of hose attached to try to get the offending object out of the tank.
If you can see into the tank you can use a turkey baster with a piece of hose attached to try to get the offending object out of the tank.