Updated : close compression stream