my $pool = Thread::Pool->new( { workers => $numCPUs, do => \&workerSub, } );