added reconnect like in main branch