func (c *Client) Close() {
	c.mu.Lock()
	if !c.closed {
		c.closed = true
		close(c.responses)
	}
	c.mu.Unlock()
}
// Close will disconnect as soon as all pending replies have been written
// to the client
Close will disconnect as soon as all pending replies have been written
to the client
// Close will disconnect as soon as all pending replies have been written // to the client
func (c *Client) Close() {
	c.mu.Lock()
	if !c.closed {
		c.closed = true
		close(c.responses)
	}
	c.mu.Unlock()
}
func ( c * Client ) Close ( ) { c . mu . Lock ( ) if ! c . closed { c . closed = true close ( c . responses ) } c . mu . Unlock ( ) }
Close will disconnect as soon as all pending replies have been written
to the client
Close will disconnect as soon as all pending replies have been written to the client