[FLINK-1154] Quickfix to kill TaskManagers in YARN mode.

This quickfix should probably only go into the 0.7 branch for the 0.7.1 release since the new Akka-based JM/TMs have this issue fixed.