Hundreds of tonnes of rotting garbage are piling up in Sri Lanka's capital after the main rubbish dump shut following an accident that killed at least 30 people.