Controlling the inert gas supply