Need to flush error after writing the message - or the user will have to wait for the buffer to fill to see the message.

When we get this hands-on we may need to create a "TimeFlushingOutputStream" or something to wrap the output stream and ensure it gets flushed periodically -- it appears to come buffered from mina.