init thrift connection pool