Place it at the very end of a farewell scene, after the other person has already walked away, so it closes the edit. To build the joke, open with Sad Violin for false sympathy, then use this clip, and finish with Nelson's Ha-Ha! to mock the exit.