No progress with detecting session loss. But I will probably cook something up within a week. In the meantime you might consider removing the login requirement for LAN access, if that is acceptable. That way it should automatically recover as it is.