Consider number of available instances in deas before starting app.