Merge "Add the ability to set the number of worker threads"