With partial caching on, when a block is not fully read, closing the file in stream will read the rest of the block, even when the block is not necessary to cache, such as when the block is already in local worker, or when the block is read from a remote worker but there is no local worker available.