I see two options. Either output to stderr and exit, or fail! but then we should catch failures and if the main loop fails output that message on stderr and exit. I'm not sure off the top of my head how to achieve this though.