public final Optional<Long> getTimeout() {
            return null == timeout ? Optional.empty() : Optional.of(timeout);
        }
Gets the value of the timeouts that were set using the {@link GraphTraversal#with(String, Object)} source step.
If there are multiple commands using this step, the timeouts are summed together.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinScriptChecker.java