"terminate the stream" with a "connection error" is wrong.. remove the
"terminate the stream" part of the sentence...