Ensure the cached stream is still a resource