Attempt to Stop Exception from Shutdown hook.