The connection abort must be called after freerdp_connect. Ensure that this function is already running by waiting a second.