added tokenizer timeout