add reconnect mechanism