Properly make use of SciJava's `ThreadService` to parallelize batch processing. Also offer an option to configure the number of threads.