func (c *Conn) Close() error {
	c.connected.Store(false)
	ws := c.ws.Load().(*websocket.Conn)
	if ws != nil {
		ws.Close()
	}
	return nil
}
func (c *Conn) Close() error {
	c.connected.Store(false)
	ws := c.ws.Load().(*websocket.Conn)
	if ws != nil {
		ws.Close()
	}
	return nil
}
func ( c * Conn ) Close ( ) error { c . connected . Store ( false ) ws := c . ws . Load ( ) . ( * websocket . Conn ) if ws != nil { ws . Close ( ) } return nil }
// Close closes the connection.
Close closes the connection .