Added timeout

Trying to request from 172.27.1.52 can fall into a black hole. Added a
timeout that skips a server in the URL list if the request takes longer
than 5 seconds.