interrupt ajax calls, and avoid overlapping calls