Management Center restart job or script always results in 5 restart attempts.
New feature has been added to Management Center v4 to make 5 attempts if the job fails due to timeout. In v3 of Management Center there was only 1 attempt.
It has resulted in this side effect as Restart job/script is always expected to hit the timeout(20 minutes) each time which results in restart every 20 minuets for 5 times.
It's recommended to use Job "Set Boot Image for Devices" which sets the boot image and restarts the Proxy without side effect.