private boolean canRetry(UpstreamRoute route) {
        try {
            route.next();
        } catch (HttpException e) {
            log.error("No route. Trace: {}. Span: {}. Project: {}. Deployment: {}. User sub: {}",
                    context.getTraceId(), context.getSpanId(),
                    context.getProject(), context.getDeployment().getName(), context.getUserSub());
            respond(e);
            return false;
        }
        return true;
    }
Called when proxy failed to send response to the client.
server/src/main/java/com/epam/aidial/core/server/controller/DeploymentPostController.java