t = self.timeout() if t is None: timeout = 0.01 else: timeout = min(t, 0.01)