public function close()
    {
        $this->_open = false;
        $this->_peers = array();
        $this->_peersSockets = array();
        $this->_peersLastDataReceived = array();
        $this->_handler->close();
        socket_close($this->_socket);
        $this->_socket = false;
    }