improve download pic script to multi-threading