Added ability to abort ajax requests.