Ensure synchronized access to Flags.guardLevels in CommandLineRunner

Otherwise, running a few CommandLineRunners in parallel threads
results in intermittent racy crashes.