• Pipeline Stats: Fix concurrent modification exception (elastic#18177)

    Due to trying to modify a map while iterating it, a concurrent modification
    in the pipeline stats could be thrown. This uses an iterator to prevent this.
    
    Closes elastic#18126
    spinscale committed May 6, 2016