add threadpool exmaple to investigate