add wget timeout parametere and retry parameter.