Vulcan - Furnace Waste & Avoiding Explosions

What is the best approach to prevent explosions caused by dumping furnace waste gas into the atmosphere? Some ores emit oxygen during smelting. Do I run it through filtration? Some easier option?