This could feasibly be replaced with gConnected = false as a "belt and braces" fallback timeout, but I don't think it's needed.