Before revision:  We  consider systemic risk by studying probability of a certain number of defaults over fixed finite time horizon.
After revision:  We solve stochastic optimal control problems, and consider systemic risk by studying probability of a certain number of defaults over fixed finite time horizon.