remove duplicate code, and fix global leak
pulled out the wrong set
Merge pull request #257 from etsy/optimize-graphiteBackend-more

remove duplicate code, and fix global leak