When calling `logger.removeHandler(h)` with one of our custom `NullHandler` instances, things crashed.