modify counrdownLatch

Change-Id: I0486ccbcaf1afc09cd73a981aa240bbd509e31fa