Added base code for reconnecting to last bridge