kill the process when client close
src dir as root