Ensure `then` is always called with a clean stack.

Fixes #105.