code: func (c *streamClient) decoupleConn() (conn net.Conn) {
  	c.decoupleMu.Lock()
  	defer c.decoupleMu.Unlock()
  
  	conn, c.conn = c.conn, nil
  	return
  }
docs: // Decouples the active connection, returning it and setting the connection to
  // nil.