Replace DiscardRecursion with option to set MaxRecursionDepth negative