How Do Connections Between Banks Affect Financial Stability?