catch ctr-c before compressing the log