Bringing back "Lock current server id from appending"
Bringing back "Lock current server id from appending"

This code was in PR #113, but got lost in merge process

neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver