discovery-url fetches new url each run instead of only first run