Build times out when msys was installed

I encountered this issue while working on a project that needs to be build in msys: When msys was getting installed (via choco install msys2), the job would later time out, no matter whether the actual build succeeded or failed. Like seemingly man other issues in here, I traced this back to a gpg-agent processes that was spawned during msys installation.

So if anyone else encounters this problem: A simple taskkill -IM "gpg-agent.exe" -F after msys installation will solve it.