add exit task and dwso