On POSIX machine, when gpg automatically invokes gpg-agent, it's done synchronously.
Currently, on Windows, it is done asynchronously and gpg frontend tries to connect to gpg-agent (with timeout).
Because it may takes loooong time like 20sec, it is good to do synchronous invocation on Windows too.