A good ending is famously hard to nail down — leave too many loose ends and you risk leaving your audience unsatisfied.