wp ajax execution time aborted 30 sec

there is a property timeout for ajax and you can use it.

jQuery.ajax({
    url: admin_ajax_url,
    error: function(){
        // will fire when timeout is reached
    },
    success: function( response ){
        //do something
    },
    timeout: 3000 // sets timeout to 3 seconds
});