Reverted to a situation with a ThreadPool
Made configurable the maximum number of concurrent jobs