Place it immediately after the failed moment in your edit, once the reaction is visible on screen. Follow it with the sad violin to close the scene, or put the wrong answer sting just before it so the mistake sets up the tears.