init threadpool
temporary cleanup