Clean up variable, preventing out of memory issue when segmenting for encrypted HLS