restart ajax request after abort

restart ajax request after abort

I have a function, something like this:

function temp(){
      $ajax_request.abort();
      ...
      some operations
      ...
     $ajax_request = $.ajax({url: url, type:'POST', dataType: 'json', data: {...}})
            .success(function() { alert("success"); })
            .error(function() { alert("error"); })
            .complete(function() { alert("complete"); });
}

this function may be called frequently, when previous ajax request is not completed.
I need to avoid situation when several request are running and the result returned by older one can override the fresh result (if it completed faster)

So i abort current request and create new one.

But after abort the new one doesn't run
If i comment abort everything is ok