Emit abort event from abort function

Added this feature on the node version, as on the browser version it seems already there.