code: public function disconnect()
      {
          foreach ($this->connections as $dbKey => $connection) {
              $this->connections[$dbKey] = null;
              unset($this->connections[$dbKey]);
          }
      }
docs: 断开数据库链接