Add threadpool stats tool