public boolean waitUntilDone(long timeoutMs) throws InterruptedException {
        return waitUntilDone(Duration.ofMillis(timeoutMs));
    }
Waits until visiting is done, or the given timeout (in ms) expires.
Will wait forever if timeout is 0.

@param timeoutMs The maximum amount of milliseconds to wait.
@return True if visiting is done (either by error or success), false if session has timed out.
@throws InterruptedException If an interrupt signal was received while waiting.

TODO deprecate this in favor of waitUntilDone(Duration)
documentapi/src/main/java/com/yahoo/documentapi/VisitorControlHandler.java