Put it just after the plan is shown, then follow it with the Fail Sound Meme to close the joke, or open with It Was At This Moment He Knew before it so the reveal sets up the reaction.