Added a race static method to promise and cancelled all promises if cancelling a Promise#all