func (c *APIClient) Close() error {
	if err := c.clientConn.Close(); err != nil {
		return err
	}

	if c.portForwarder != nil {
		c.portForwarder.Close()
	}

	return nil
}
func (c *APIClient) Close() error {
	if err := c.clientConn.Close(); err != nil {
		return err
	}

	if c.portForwarder != nil {
		c.portForwarder.Close()
	}

	return nil
}
func ( c * APIClient ) Close ( ) error { if err := c . clientConn . Close ( ) ; err != nil { return err } if c . portForwarder != nil { c . portForwarder . Close ( ) } return nil }
// Close the connection to gRPC
Close the connection to gRPC