Feature/ast crash on hangup

Please review for side effects.
The changes outlined by Chewi in [#259](https://github.com/adhearsion/adhearsion/issues/259) make the exceptions on hangup during input disappear, but I am wary of masking other errors.