Anyway, I'll using 'for' loop instead to make sure always break the loop when reach the limit.