Fixed autoreconnect for single server #972