Thermal explosions and the effect of reactant consumption on critical conditions