MessageBufferOutput now implements Closeable (available since jdk 1.5)