threadpool queue control