Move related doc cleanup into reconnect()