Let patterngen exit when asked.