AS7-1805 properly close TempFileProviders