fix connection handling with chunked responses