Add thrift connection pool

@lxyu