Dispose logger on shutdown of the file archive app, ensuring files are unlocked.