for #46 added download retry control options

for #46 added download retry control options