catch timeout exception from tokenizerwrapper