Add a timeout to the URL call
Some pylint cleanup