change self.timeout to global thread_qq.timeout