add threadpool example