Adding configuration option max_restarts to allow min_update to function decently