set the number of workers to # of cores