public void reset() {
        internalReset();
        getContext().getBindings(ScriptContext.ENGINE_SCOPE).clear();
    }
Resets the entire {@code GremlinGroovyScriptEngine} by clearing script caches, recreating the classloader,
clearing bindings.
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java