There is no event dedicated to detecting the loss of the network connection, but you can detect the disconnection by using the following method.
The Room Context Closed event of Strix Notification Listener can be used.
This event is executed at certain timings such as when a room is deleted, when a player leaves a room, or when a player is kicked, but it is also executed upon disconnection from the network.