switch to for loop for debugging async issue