Place it at the end of a failed attempt, after the moment of realisation, then follow it with the fail sound meme for the payoff and the it was at this moment he knew line to frame what just went wrong.