Fix host reconnect logic