set timeout of one picture download and fix bug(could not download last picture