wfreerdp-server: more error handling improvements