teardown

De-initialises the plugin.

If we're buffering writes, flush all queued lines to disk.

version(WithPrinterPlugin)
private
void
teardown