fixed race condition on server start
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding