ThreadPool: limit max workers