Abort ajax requests on emit