default void sleep(Duration duration) throws UncheckedInterruptedException {
        uncheckInterrupted(() -> sleepChecked(duration.toMillis()));
    }
An abstraction used for mocking {@link Thread#sleep(long)} in unit tests.

@author bjorncs
vespajlib/src/main/java/com/yahoo/yolean/concurrent/Sleeper.java