def sendLine(self, line):
        """
        Override sendLine to add a timeout to response.
        """
        if not self._current:
            self.setTimeout(self.persistentTimeOut)
        LineReceiver.sendLine(self, line)

        Override sendLine to add a timeout to response.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/memcache.py