fix lazy load thrift client