resolve connection pool is empty

Test Plan: no

Reviewers: sheng, andy

Subscribers: gcj

Differential Revision: http://ph.in.zhihu.com/D1749
make tests work