Dissipation in the Abelian sandpile model