prelim: auto reconnect stuff