libfreerdp-core: properly reset internal RDP state on reconnect