I am working on a Python Application that processes tasks from a queue. The queue will resend the task if it fails unexpectedly (i.e. machine crash). My tasks aren\'t natura