Add terminating thread pool.