Change states automatically if you don't have the resources for it