According to the PR description:

> Pick one number less than number of cores to avoid deadlock errors.