def timeout(self, cutoff):
        '''Time out the client if the last operation was before cutoff.'''
        if self.last_operation < cutoff:
            self.logger.info("timed out")
            self.clear_session()
Time out the client if the last operation was before cutoff.
electrum/plugins/safe_t/clientbase.py