Understanding Steam and LAN multiplayer

Update: to be able to connect to LAN while having Steam opened I just added a check like this: IOnlineSubsystem* UHKGameInstance::GetOnlineSubsystem() { return bEnableLan ? IOnlineSubsystem::Get(NULL_SUBSYSTEM) : IOnlineSubsystem::Get(); }

This fixes the problem since I’m no longer using the Steam subsystem to create and join LAN matches anymore, but unfortunately this works to create a session, when trying to join it it fails, shows me that no players are connected (there should be at least 1, the one that created the session is connected). If Steam is offline then this still works, I’m so confused here :S