[AJAX] only one ajax request at a time
now using clearTimeout(POLL_TIMEOUT) to stop the pending requests