two concurrent agents using a thread pool