Use `window.setTimeout` here, too.