Make db error retryable when scanning for task definitions.
Update the ads domain check method so it doesn't block indefinitely.