Runaway limits for homogeneous and catalytic reactors