I not 100% sure but think I remember reading where someone had their stock petcock leaked through the vacuum line from the stock petcock which filled the cylinder with fuel. The leaking petcock's fuel did go through the carb but through the vacuum line to the cylinder.
So an in-line shut off would not help in this example. I believe that this is rare buts has happen before.
“There is only one reason for pavement and that is to get to dirt.” - “King” Richard Burleson
-- If you argue with a Fool you are a FOOL! --