It's a system level io error.  It would occur if, for some reason, we couldn't talk to stdout.  I can't really think of what to do in this situation, and most of the examples I've seen do this as well.  I'm happy to add explicit handling if you have suggestions