I have a peculiar setup. API call the server with a timeout of every second, the response data is either \'queued\' or \'completed\'. When the data is queued, I repeat the A