Fix close-on-error in Transport.doChunkedRequest.