public function close()
    {
        if($this->isUDP()) {
            Yii::warning("Clos UDP connection is meaningless.", 'beyod');
            return ;
        }
        
        $this->status = static::STATUS_CLOSED;
        $this->removeEventLooper();
        
        $this->trigger(Server::ON_CLOSE, new CloseEvent());
        $this->destroy();
    }