Add timeout when checking for URLs.