Before 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 .
After revision:  We solve stochastic optimal control problems explicitly. We are able to recreate occasions such as liquidity trap. We study distribution of the number of defaults over fixed finite time horizon .