Forcing termination of pool when timeout is reached in concurrency test