Fixed blocking for loop