def __del__(self):
if not self.fd.closed:<EOL><INDENT>self.fd.close()<EOL><DEDENT>
Close 'fd' if it hasn't been closed already.

        If LazyLineReader was instantiated using EFILTER's stdlib.io functions
        then it won't be inside of a with block and we need to close fd when
        the repeated is deallocated.