- Improved retry logic
- Only enable urllib debug mode if debug is set to true