Instances with a TEAR_DOWN transaction state will cause the task_state to be 'deleting'

This fixes one instance where #46 happens