public void awaitAndLog(Future<?> future, Duration logInterval) {
    while (!await(future, logInterval)) {
      log();
    }
    log();
  }
Invoke {@link #log()} at a fixed duration until {@code future} completes.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/ProgressLoggers.java