finish thread sync test