Puts the initial validate call inside a setTimeout in order to move the call to the end of the loop.