public static <T> T retryOnException(Supplier<T> supplier, int maxRetries) {
        return retryOnException(supplier, maxRetries, 20L);
    }
@Test
    void retryOnExceptionForRunnable() {
        assertThatCode(() -> Exceptions.retryOnException(() -> System.out.println("Will run"), 5)).doesNotThrowAnyException();
        assertThatCode(() -> Exceptions.retryOnException(new RunnableThrowingRuntimeException(), 5)).isInstanceOf(StorageException.class);
    }