Detached powershell locks Agent directory

A small post about a problem I ran into the other day on an on-premise TFS. Ever since the new agentless phase, you have the possibility...