Add timeouts to HTTP requests