Implemented review comments to update query_azure for async request and changes for code cleanup