add thread pool example