FUOC can still happen. Try setTimeout with 1 ms