Corrected frame handling in stream closed state