When Cape Town nearly ran dry.