From time to time I had problems with pkg download speed, but everything else was ok, and starting it again was solving the issue. At the beginning of this week 'pkg upgrade' didn't work, after downloading pkg complained about package size mismatch error. Starting it again and again didn't help, when left alone it was just downloading one package in a loop, but it was increasing downloaded package count. Question is, what happened? How to repeat that behaviour on my own infrastructure? Thanks in advance.