If freerdp_abort_connect is called, set FREERDP_ERROR_CONNECT_CANCELLED This way freerdp_reconnect can distinguish between network issues and user interaction and abort a retry attempt.