Added change to retry settings download in case of timeout.