Fix streamline and best practice coding
Add URLError catching