Callback for abort event

Seemed useful, for me, to add a callback for abort event. Documentation for such feature was also updated.