Simulator restarting in a loop

Hello,
check this great community article.