handle init shutdown exception