if(!timer.hasExpired() && commands.length() > 0){
for(IValue command : commands){
result = evaluator.eval(null, ((IString) command).getValue(), URIUtil.rootScheme("stdin"));
}
timer.cancel();
if (timer.hasExpired()) {
throw RuntimeExceptionFactory.timeout(null, null);
}
if (expected != null) {