Improve draining for tasks in DEACTIVATING state
-
Use
ListTasks
andDescribeTasks
to get a list of running tasks
instead of relying onRunningTasksCount
to be able
to handle better tasks inDEACTIVATING
,DEPROVISIONING
, etc. states -
Update dependencies