Clear Cache fails when cache contains .vsto file

When using the Clear Cache feature we receive the following error:

The process cannot access the file <filename.vsto> because it is being used by another process.

We have to stop the SMS agent host in order to manually delete the file and then restart the clear cache process.

Appears to be .vsto files that have this issue.
Windows 10 1809 / 1909 - SCCM Client - 5.00.8913.1012


Thanks for the heads up, we will do some testing around files that are in use and see what we can do.