public function detach()
    {
        $this->_offset = $this->_current = 0;
        $this->_seekable = true;

        foreach ($this->_streams as $stream) {
            $stream->detach();
        }

        $this->_streams = [];
    }