Thanks for posting! Just to clarify: you're talking about restarting a task (in a release) that was running and that want to "FAILED" when the server restarts?
Also, could you give an indication of roughly how often this is happening, i.e. how often you are restarting the (production?) server - does this happen daily, or a few times a week, or..?