Place it at the turning point of a failed-plan edit, right after the plan falls apart and just before the cut to everyone leaving, then follow it with a short reaction clip that lets the joke settle for the viewer.