Remove default api url
Add explicit timeout to sane_target_url

Plus, backfilling tests
sane_target_url catches ETIMEDOUT thrown by TCP connection
Refactor sane_target_url
remove redundant call to sane_target_url