Fix downloading repeating constantly until failure