add an appender.stop() statement