I have a scheduled task on ECS. I am trying to figure out how to stop the task once the work is done. The task stays in RUNNING state even when it is complete.
I don\