pollForAbort

A function for polling for abort requests.