title: How do you make gRPC client Timeout in C# if the server is down?
body: <p>I am writing a connection back to a TensorFlow Serving system with gRPC from a C# platform on MS Windows 10.  I have seen many references to Time-out and Dead-line with the C++ API for gRPC, but can't seem to figure out how to for a timeout under C#.</p>
  
  <p>I am simply opening a channel to the server, setting up a client and the calling to the server.  I would like this <strong>Classify</strong> to time-out after 5 seconds or so.  Any help or direction would be appreciated.</p>
  
  <blockquote>
    <p>channel = new Channel(modelServer, ChannelCredentials.Insecure);</p>
    
    <p>var client = MyService.NewClient(channel);</p>
    
    <p>MyResponse classvalue = client.Classify(featureSet);</p>
  </blockquote>