public static void closeAll(@NotNull AutoCloseable @NotNull ... cleanupArray) throws Exception {
    closeAll(cleanupArray, false, null);
  }
public static void closeAll(@NotNull AutoCloseable @NotNull ... cleanupArray)