Safely stop invocations when "kill" command is issued.

Bug: 18339605
Change-Id: I7d86df104af41469a1df36fbd9f8af2db9ac4b56
6 files changed