any action under
section 5384 of this title would avoid or mitigate such adverse effects, taking into consideration the effectiveness of the action in mitigating potential adverse effects on the financial system, the cost to the general fund of the Treasury, and the potential to increase excessive risk taking on the part of creditors, counterparties, and shareholders in the financial company;