Functions of the state in ensuring survivability of industries faced with the threat of recession