You can't cancel a JavaScript promise (except sometimes you can) | Hacker News Reader