Place it immediately after the failed moment in your edit, then follow it with okay let's go to restart the action. If the setback needs a bigger reaction first, open with ah shit here we go again, let the failure play out, and use this clip as the closing line before the next scene begins.