public function close() { foreach ($this->connections as $conn) { $conn->forceClose(); $this->unmapConnection($conn); } $this->ready = []; $this->readyMap = []; $this->limit *= -1; }