MSSQL version: 2016 (13.0.5026.0)
Situation: Removed a database from an availability group so it could be restored. When I'm ready to add it back to the group, I go to drop the copy on the secondary instance. It's in the "restoring" state, but that's ok, that's what's expected. But when I try to drop the database, I get an error message saying "the database is in use". When I see what is blocking me, I see a "VDI_CLIENT_WORKER" process. I can't kill it because it's not a user process.
Any ideas what I can do, aside from restarting the instance? And how to prevent this in the future?