When the zip archive has not yet been closed by application, it is closed before destructing the ZipArchive instance.