use underscore debounce instead of custom and remove cookie listener on disconnect to clear up errors in background script