OFDNSResolver: Allow specifying the run loop mode