Fix Bug in DirectoryPathReader (early-finish by thread)