added better handling of canceling in-transit ajax requests in the event a user initiates another request while the first has not finished