@Override
    public int reason() {
        if (query.getTimeLeft() > 0) {
            return 0;
        }
        return DEGRADED_BY_TIMEOUT;
    }
Computes the timeout based solely on the query timeout

@author baldersheim
container-search/src/main/java/com/yahoo/search/dispatch/SimpleTimeoutHandler.java