end deflater after compression avoid memory leak