fixed race condition in task setup
Merge branch 'devel' of github.com:triAGENS/ArangoDB into pregel