Do not exist out of stream if there is a decoding error.
Exit stream on EOF.