public Optional<Duration> timeLeft() {
        return timeout.map(timeout -> timeout.minus(timePassed()));
    }
Returns the time left, possibly negative if the deadline has passed.
vespajlib/src/main/java/com/yahoo/time/TimeBudget.java