You can't cancel a JavaScript promise (except sometimes you can) - Tech Sentiments