Add timeouts to http requests