Fix waiting in CloudDnsProvider blocking a (background) thread