private void completeProxyResponse(BufferingReadStream responseStream) {
        HttpServerResponse response = context.getResponse();
        responseStream.end(response);
        finalizeRequest();
    }
Called when proxy failed to receive response header from origin.
server/src/main/java/com/epam/aidial/core/server/controller/InterceptorController.java