Hanging task when restarting services during pulp2 to pulp3 migration
Description of problem:
While running a migration, restart all services. Check UI and you can see that the task hangs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Sync some repos
2. On a terminal, run migration command to migrate data
3. Wait a couple of minutes, then open a separate terminal and restart all services
4. Check on UI
UI display tasks as running even after 24+ hours.
The task should stop with an error message or it should task should continue once services have restarted.
Will let dev decide how to handle what should happen. A workaround for this is running the abort command and rerunning migration again (not 100% sure if this works yet)