DialContext allows users to pass a Context object for cancellation. Close closes the underlying RPC connection.