a start to reconnect logic