func terminateConn(cn *pool.Conn) error { // Don't use cn.Buf because it is racy. _, err := cn.Write(terminateMessage) return err }