Improving the Resilience of Core Funding Markets