Fix autoreconnect test.