fix data race b/w start and kill
fix data race b/w start and kill

Racing over saving and checking ProcessState. It was checking
ProcessState to see if the command had exited. I tweaked exitCh
to have closing it indicate that the command had exited.

hashicorp/consul-template,hashicorp/consul-template