set threadpool to 1