better ajax abort handling