public function close()
    {
        foreach ($this->connections as $conn) {
            $conn->close();
        }

        $this->using = false;
        $this->watching = array();
        $this->ignoring = array();
    }