NEXUS-7789: Proper resubmission of already running task

As YUM depends on this, and UT actually depends on proper
functionality.