avoid unecessary use of CountDownLatch. Executor can do the job.