@Override
    public void close() throws Exception {
        if (connection != null) connection.close();
    }
If there is an underlying {@link RemoteConnection} it will be closed by this method.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversalSource.java