Revert task manager exitcodes
Merge pull request #901 from romainneutron/taskmanager-exitcodes

[3.9] Revert task manager exitcodes