Add sample usage for thread pool.