code: def wait_for_responses(self):
          
  
          self.thread.join(self.COMMAND_RESPONSE_TIMEOUT_S)
          self.running = False
  
          return self.responses
docs: Block the thread and wait for the response to the given request to
          arrive from the VI. If no matching response is received in
          COMMAND_RESPONSE_TIMEOUT_S seconds, returns anyway.