catch exceptions on subclass shutdowns