kill agent after 5s waiting
kill agent after 5s waiting