thread pool and send method