onFulfilled and onRejected shouldn't be called in the same turn of the event loop