Added retry download and retry after file intregrity failed