def METHOD_NAME():
    for hook in Daemon.atexit_hooks:
        try:
            hook()
        except Exception:
            content = traceback.format_exc()
            err = 'Exception when calling atexit hook[%s]\n%s' % (hook.__name__, content)
            #logger.error(err)