Add abort method for ajax request