Emit abort event from abort function
Merge pull request #460 from nickdima/abort

Emit abort event from abort function