adding retries of rega-scripts if they have failed because of connection issues (on my CCU1 I get many socket errors)