- register disconnect handler after reconnect