Use CountDownLatch as ns for its native functions