Ignore furthur messages after entering terminate state
Merge pull request #1657 from zsxwing/fix-onErrorReturn

Ignore furthur messages after entering terminate state