Github user mpollmeier commented on the issue:
https://github.com/apache/tinkerpop/pull/745
I made the same incorrect assumption. Fixed with your latest snippet and
tested with our large testbase. No NPEs, no race conditions so far, looks good.
VOTE +1---
