Check this: https://blog.danlew.net/2020/01/07/when-workmanager-stops-working/
When we run in sequence mode (e.g. scheduling unique work), and once unique work failed, the whole chain of (new) uploads will fail. That's not the output we want.
The only solution I see is to refactor to always return success but set error codes eventually which the module handles.