Detecting and Reacting to Pipe Network Anomalies