Adding a nextTick in to break the call stack