diff --git a/rpc/client.go b/rpc/client.go index 1ceb48e..1400359 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -1141,6 +1141,7 @@ func (client *Client) Close() { } if client.s != nil { client.s.Close() + client.s = nil } }) if timeout == nil && doCleanup {