Fixed isssues running looping nextTick from engine recursive code