Exit after printing.