grpc::CreateChannel(host + ":" +port,
grpc::InsecureChannelCredentials());
grpc::ClientContext client;
client.set_fail_fast(true);
grpc::Status stat = stub_->AskService(&client, req, &res);
context.set_deadline is what I looking for, thanks.