Update ad_thread_pool.c