Change stop mechanics

This change is dependant on another pull request (https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/pull/29)