Version with thread pool & job queue.