public static <T> T uncheckInterrupted(SupplierThrowingInterruptedException<T> supplier) {
        try {
            return supplier.get();
        } catch (InterruptedException e) {
            throw new UncheckedInterruptedException(e);
        }
    }
Wraps an InterruptedException in an UncheckedInterruptedException.
vespajlib/src/main/java/com/yahoo/yolean/Exceptions.java