core: kill queues also after finalize, not only on abort

We are having a memory leak after running the archiver many times and found that queues are not being killed on finalize, only on abort. So I added this, creating the branch from commit b7597891cf68cd16f0c82b97a4260e1eb07d2e4b (release 0.12.0).
If the fix is good for you, could release it as version 0.12.1?

Thank you