There are many variants of this question on Stack, most answers just saying to restructure your code or use async = false.
The question again is, you have an array of data you want to loop through and enact some asynchronous function on each element, but you don't want multiple asynch threads running at once. This could mess things up like array order or be completely at odds with what your project wants to do.
e.g.,
$.each(my_data,function(i,o){
$.getJSON(o,function(r){
//do somethin' with r then move on to next my_data element
});
});