lib-imap-client: When switching ioloops, do it also for the DNS lookup.
lib-imap-client: When switching ioloops, do it also for the DNS lookup.

jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot