Hold a catz reference while the update process is running
This should delay the catalog zone from being destroyed during shutdown, if the update process is still running.
Doing this should not introduce significant shutdown delays, as the update function constantly checks the 'shuttingdown' flag and cancels the process if it is set.
Closes #3955 (closed)
Edited by Arаm Sаrgsyаn