Place it at the end of a build-up, after sudden suspense and just before goofy ahh running, so the escape becomes the payoff and the chase keeps the joke moving.