title: INACTIVE task - how to kill them
body: <p>When I create a new revision of my tasks in aws ecs, ecs creates two new instances as requested.</p>
  
  <p>However, it leaves the other two untouched:</p>
  
  <p><a href="https://i.stack.imgur.com/kgcjf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kgcjf.png" alt="enter image description here"></a></p>
  
  <p>AWS does know, however that this is not correct:</p>
  
  <p><a href="https://i.stack.imgur.com/2bEje.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2bEje.png" alt="enter image description here"></a></p>
  
  <p>Why is it like that?</p>
  
  <p>I have a minimum health of 100% (two tasks) and a max of 200%.</p>
  
  <p>My understanding is that it starts two new tasks and then kills the inactive ones. But the inactive ones just stay there forever (until I manually kill them), doing unpredicable things on old code.</p>