This seems wrong. I suspect what we want here is to cease to read upon the connection, or close it down.
A stream error could be fatal to the session here for the wrong frame types, e.g. any which contain a Header Block and so is unsafe.