Stop the candy at the right time