kill child process when stopped