Some refinements after adding more promise support in gremlin-node.