Refactor around removal of sessions from Gremlin Server.