am trying to get results from Cloudwatchlogs using GetQueryResults through a Lambda using nodejs, but cant figure out how to wait till the status reaches complete. Dont want