when all retries fail on an upload mark it as failed