Liquidity Needs in Economies with Interconnected Financial Obligations