Residual heat removal system