func (c *Client) Disconnect() error {
	if !c.connActive.get() {
		return ErrConnectionIsNotOpen
	}

	c.userDisconnect.Close()

	return nil
}
func (c *Client) Disconnect() error {
	if !c.connActive.get() {
		return ErrConnectionIsNotOpen
	}

	c.userDisconnect.Close()

	return nil
}
func ( c * Client ) Disconnect ( ) error { if ! c . connActive . get ( ) { return ErrConnectionIsNotOpen } c . userDisconnect . Close ( ) return nil }
// Disconnect close current connection
Disconnect close current connection