Fix to abort the current transaction when the request will retry after processing promises