LOGBACK-244 - make stopStaleAppenders() less inefficient