How to put a stop to bank crises