Partial download

Hi,
during download the consolle stop to log messages about the downlaoding photo and stack on the last downloaded.. if i open the folder and search for these photo i can see that the photo is partially downloaded and the script is in freez mode.. after if i restart the script, when it check for downloaded photo, it find the filename of the partial photo in the folder and check the photo as downloaded and skip the file (but the photo is partial !! and must be redownloaded)

There is a fix for this problem?

Tnx