An unresponsive service can be worse than a down one. It can tie up your entire system if not handled properly. All network requests should have a timeout. Here’s how to add timeouts for popular Python packages. All have been tested . The default is no timeout, unless otherwise specified. Enjoy! Also available for Ruby
