With an empty home directory on Windows I imported an S/MIME cert using Kleopatra:
(Passphrase "test")Afterwards all operations using the agent "hung" e.g. gpgsm -K
The issue is not reproducible for me.
Kleopatra might be doing a secret keylisting during the import (as soon as the pubring changes).