Adding an iterator on the AnalysisResult to avoid concurrent exceptions