Rename testExit channel to kill channel
Intercept interrupt signal to exit only after all commands have exited