Corrosion control techniques and the use of biocides