pullall finished(two api), tested in ./test/test_init_client2.cpp.