Slight code reduction as well as performance improvements for the TaskExecutorDistributor