Initial work

But yeah, the CountDownLatch is a better choice in this.