Abort running questions when closing tab.

Fixes #306.