Cleanly exit a forked executor if the slave terminates during launch.

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