settleFailureWhen