Dynamic Clearing and Contagion in Financial Networks