Make sure the mesos-fetcher exits if the slave terminates.

Review: https://reviews.apache.org/r/24722
Ch-ch-ch-changes.
WIP: Compiles but tests don't pass