lower timeout when end of file is reached