Managing Counterparty Risk in Volatile Markets