Adding support for Promise.race