Kill the agent after it is started at install