void fail(HttpStatus status, long retryAfterSeconds) {
        verifyCurrentUpstream();
        balancer.fail(upstream, status, retryAfterSeconds);
    }
Fail current upstream due to error

@param status - response http status; typically, 5xx or 429
@param retryAfterSeconds - the amount of seconds after which upstream should be available
server/src/main/java/com/epam/aidial/core/server/upstream/UpstreamRoute.java