Fixed ajax abort bug