code: public function close()
      {
          $uri = $this->current()->getNextUri();
          if (!is_null($uri)) {
              $this->client->deleteAsync($uri)->wait();
          }
          $this->closed = true;
      }
docs: close
  HTTP method DELETE