for eof when re-caching the directory. This could cause it to loop forever if a directory was truncated.