fix #4408
- if you try to set WorkerThreadCount higher than N=#_of_cores in springsettings.cfg, ThreadPool will only use N-1 threads in its pool