Transmission of distress in a bank credit network