JPM: fixed PeriodicDownload.resume for combination of dropped connection, pause and 'connection refused'.