add thread pool and http conn.