o.c.dal2: Enhanced error handling during shutdown of archiver