fixed reconnect bug in exporter