Disable threadpool if THREADPOOL_SIZE < 1