Building resilience in the financial sector