func (sc *SignerClient) Close() error {
	sc.logger.Info("Stopping service")
	if sc.conn != nil {
		return sc.conn.Close()
	}
	return nil
}
Close closes the underlying connection
package grpc
import (
	"context"
	grpc "google.golang.org/grpc"
	"google.golang.org/grpc/status"
	"github.com/tendermint/tendermint/crypto"
	"github.com/tendermint/tendermint/crypto/encoding"
	"github.com/tendermint/tendermint/libs/log"
	privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
	tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
	"github.com/tendermint/tendermint/types"
)
type SignerClient struct {
	logger log.Logger
	client  privvalproto.PrivValidatorAPIClient
	conn    *grpc.ClientConn
	chainID string
}
var _ types.PrivValidator = (*SignerClient)(nil)
func NewSignerClient(conn *grpc.ClientConn,
	chainID string, log log.Logger) (*SignerClient, error) {
	sc := &SignerClient{
		logger:  log,
		chainID: chainID,
		client:  privvalproto.NewPrivValidatorAPIClient(conn),  
	}
	return sc, nil
}