Fix ajax error callback is called on abort