public static CompletableFuture<Void> joinFutures(CompletableFuture<?>... futures) {
    return joinFutures(List.of(futures));
  }
Returns a future that completes successfully when all {@code futures} complete, or fails immediately when the first
one fails.
planetiler-core/src/main/java/com/onthegomap/planetiler/worker/Worker.java