Adding timeout=1 second for HTTP request connections