add thread pool to client and storage