Kill the tunnel when the cli process is killed

We call hangOnTillExit before the tunnel opens so that if the process is killed during the connecting phase the tunnel is still killed.