add abort event handler