kill the goagent process only when stop