Gas Stunning using a gas monitor for controlled atmosphere