code: @Override
    public void destroy()
    {
      try {
        close();
      } catch (IOException e) {
      } finally {
        TempBuffer ptr = _head;
      
        _head = null;
        _tail = null;
  
        TempBuffer.freeAll(ptr);
      }
    }
docs: Clean up the temp stream.