@defer.inlineCallbacks
def _close(self, *_a, **_kw):
    for dh in self._handlers.values():
        if hasattr(dh, 'close'):
            (yield dh.close())
@defer.inlineCallbacks
def _close(self, *_a, **_kw):
    for dh in self._handlers.values():
        if hasattr(dh, 'close'):
            (yield dh.close())