tests: Use gpgconf to stop the agent.
* tests/openpgp/defs.scm (stop-agent): Swap order of actions. Kill all daemons using gpgconf. * tools/gpgconf.c (main) <aRemoveSocketDir>: Try to remove known socketfails on rmdir failure. Do no fail for ENONET.
Killing all daemons is not really required but it does not harm to be
prepared for the future.
- Signed-off-by: Werner Koch <wk@gnupg.org>