Finally fixed auto-logout reconnect error.