make tcgetattr() failure on both master and slave end of pty a fatal error