Fixed autoreconnecting