Maybe this will help in canceling the AJAX calls when the page changes.