'Listen on socket until I/O not ready or EOF
pollresponse() will loop looking for seq number None, which
never comes, and exit on EOFError.'

def mainloop(self):

    try:
        self.getresponse(myseq=None, wait=0.05)
    except EOFError:
        self.debug('mainloop:return')
        return
