@viart I wonder, is it possible to do a big try-catch-finally around the whole publishing process and both drop the archive and close any open sockets in this proverbial "finally" clause?