libfreerdp-core: fix transport failure case with session redirection