340 has a hard time starting when hot?

If your running headers on the engine, how close are the tubes to the starter? Will cause heat soak on starter and starter will not crank until it cools down.(IF you have headers)