exit on failed --pty-connect