fix host switching in consistent connection