Multi-bed catalytic converter with inter-bed cooling