Adds task state cleanup for celery workers who restart unexpectedly
Merge branch 'bmbouter-1129858' into 2.4-dev