stop evaluating after timeout or EOF