add wait conditions when creating a new app to allow DNS time to propagate