I have a recursive function that is going to recurse 1000's of times- I can just break it up with setTimeout to prevent it from stack overflowing?