calls reconnect if the socket was already connected