'clean up unanswered requests when we discard the connection'

def connectionHandler(self, conn):

    if (self.noanswer and ('DNSHandler' in dir(self)) and self.requests.get(conn)):
        for (requesttime, request, responsecount) in self.requests[conn].values():
            if (not responsecount):
                if (type(conn) is tuple):
                    conn = dshell.Packet(self, conn)
                self.DNSHandler(conn=conn, request=request, response=None, requesttime=requesttime, responsetime=None, responsecount=responsecount)
    if (conn in self.requests):
        del self.requests[conn]
