while they buried our friend , i watched a glossy emerald beetle , carapace age-pocked and mossy , fend off an attack by a dozen fuzzy ants , their red thorax glands releasing tiny jets of bubbly white poison .