added cleanup for pregel worker
Merge branch 'pregel' of https://github.com/triAGENS/ArangoDB into pregel