Simplify graphite-pager worker code