Merge "Query the CPU count and use the result to determine if and how many worker threads we use."