private void setReplyAfter(long retryAfterSeconds) {
        retryAfter = System.currentTimeMillis() + TimeUnit.SECONDS.toMillis(retryAfterSeconds);
    }
Register upstream failure.

@param status response status code from upstream
@param retryAfterSeconds time in seconds when upstream may become available
server/src/main/java/com/epam/aidial/core/server/upstream/UpstreamState.java