close task log prior to zip and download