fix queue for pipeline stats
Merge pull request #315 from theodi/pipeline-metrics

fix queue for pipeline stats