Managing Water Quality in Intermittent Supply Systems