Add timeouts to metadata http requests