Ignore StreamClosedError exception