Preventing methane explosions