Dies when hot, possibly boiling gas, exhaust flap stuck

Had a problem once upon a time where the flexible hose between the fuel pump and the steel line from the rear of the car would collapse after about an hour of highway driving. Cured it by replacing hose and making sure there was no sag and no sharp bends in it.