As we know that ssh-agent.exe is a daemon, we should simply kill it and move on.
The main problem I had with this is that it appears as if there may be an ssh-add.exe running at the same time, and a second ssh-agent.exe process, both of which are not shown by MSYS2's own ps -W. But the Task Manager sees them and the user can kill them interactively.
Hopefully we can teach the installer to kill silently any of Git's own ssh-agent.exe and/or ssh-add.exe. The chances are good: We already show such processes successfully in the wizard page that prevents the installer from running, after all.