Fix single url check for external links, add increasing timeout for slow connection (on 3.7.x branch)

#482 for 3.7 branch