Even back then the building should have had a "break tank" with an air gap to prevent the buildings water getting back into the main district water supply. They may have contaminated the buildings own water, but not the surrounding district. A filling valve on a toilet cistern works on the same principle, the water sprays in from the top with an air gap, this prevents the possibility of water back syphoning into the mains water system.