'Ensure file descriptors opened in __init__() are closed.'

def __del__(self):

    if getattr(self, u'use_async_interface', False):
        for fd in (self.r, self._w):
            try:
                os.close(fd)
            except OSError:
                pass
