docs: @Override
      public <T> Collection<? extends Callable<T>> wrap(Collection<? extends Callable<T>> tasks) {
          // try to detect environment, if it's SE, we want to null TCCL, otherwise leave it as it is
          if (Container.getEnvironment().equals(Environments.SE)) {
              List<Callable<T>> wrapped = new ArrayList<>(tasks.size());
              for (Callable<T> task : tasks) {
                  wrapped.add(() -> {
                      ClassLoader oldTccl = Thread.currentThread().getContextClassLoader();
                      Thread.currentThread().setContextClassLoader(null);
                      try {
                          return task.call();
                      } finally {
                          Thread.currentThread().setContextClassLoader(oldTccl);
                      }
                  });
              }
              return wrapped;
          } else {
              return tasks;
          }
      }