Adding abort hack from the CodeMoo source.

Fixes #276.