SAMZA-238: Make hello-samza stop YARN in a graceful manner.