Whether it's planned to work that way isn't so relevant as it is what is probably going to happen from time-to-time due to the fundamental nature of banks - at least, this is what Diamond and Dybvig believed when they published their model[1] back in 1983, concluding that deposit insurance is the better way to prevent bank runs than closing banks.
Presumably they were onto something, as they jointly received the Nobel prize for economics last year for this contribution.