It is initially confusing why `finished` is injected into the callback chain of `d` (as a user of Klein would never do something like this).  Maybe add a comment like "Catch the connection being lost, then wait for `finished` to fire so we can make assertions."