Workaround for failed promise fulfillment, fixes issue #214