Controlling the gas flow through the purifiers