Send a signal to only the child process

I had encountered are:

```
zsh: terminated  mysqlenv install -v 5.1.69
```