Let's stop instances only if we run in the cloud.