public function __destruct() { try { if (mb_orig_substr($this->id, 0, 1) === 'c') { $this->conn->pool->killCursors([mb_orig_substr($this->id, 1)], $this->conn); } } catch (ConnectionFinished $e) { } }