public Builder afterTimeout(final BiConsumer<Bindings, Throwable> afterTimeout) {
                this.afterTimeout = afterTimeout;
                return this;
            }
Specifies the function to execute if the script evaluation times out. This
function can also be
specified globally on
{@link GremlinExecutor.Builder#afterTimeout(BiConsumer)}.
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/engine/GremlinExecutor.java