def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def close(self):
        super(QueueingLogHandler, self).close()
        self._queue.put_nowait(None)