Chemical accident shuts down water treatment plant