[dags] use own package for shutdown.