As the nation's pipes and treatment plants age, water-main breaks and boil-water advisories are becoming increasingly common.