Remove wget from loop