Add functions to execute callbacks next tick if it looks like a stack overflow may be imminent, in the case that an iterator isn't actually asynchronous