Adding option to fail gracefuly if there's not enough resources