The town shall provide a connection with water and sanitary sewer mains for all property abutting on any public way in which a sanitary sewer or water main is laid. When any water main or sanitary sewer is declared ready for operation by the town, all abutting property owners after reasonable notice shall connect all fixtures with the water or sewer main. The town may require that if it considers existing fixtures unsatisfactory, satisfactory ones be installed and may require that all cesspools, sinkdrains, and privies be abandoned, filled, removed or left in such a way as not to injure public health. All wells found to be polluted or a menance [menace] to health may be ordered to be abandoned and closed. Any violation of an ordinance passed under the provisions of this section may be made a misdemeanor.