TS-3106: Keep alive not correctly applied to errored pages