Queue control for AJAX requests