Gallons of water spill after pipe valve breaks