Water main break leaves 5000 homes dry