Half-billion gallons of raw sewage leaked into river