fix reconnect if already connected