preparing for threadpool-batch-repo commands