Added an option to abort all pending requests

Also firmed up the error_callback concept with an abort handler