Place it just after the failure is shown, then follow it with the sad violin for a mock-tragic payoff, or lead into it with sudden suspense when the outcome is still uncertain.