move doc outside to show reconnect