Exit after printing, terminating the scheduler loop and automatically flushing output buffers
Merge pull request #1 from dsheets/heidi-exit

Exit the program when we've done our job