Fix sqlcmd false error code after using stdin.