TEZ-588. TaskScheduler may end up releasing containers and getting stuck without enough resources (bikas)