Using wrong event type when trying to detect if a retry task has failed.