Fixed slave to not send status updates when the framework is being
shut down.

Review: https://reviews.apache.org/r/9964

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1457181 13f79535-47bb-0310-9956-ffa450edef68