Add ability to cancel a network request associated with a promise