Add shutdown code for logback's async appender