[bugfix] reconnect logic