Improve to support running multiple auto-task and restarting cub_auto process