When a node running a task fails, we may not deallocate network resources for the task for a long time or forever because the task state hasn't been updated by the agent to > TaskStateRunning (the condition the allocator looks for deallocating the task) and it might get removed from the store without ever reaching this condition. This will result in leaked resources.