commit before add thread pool