Prevent closing stream when caching html/razor views