add thread pool with 10 maximum connection