added config.errorRestartDelay