Fix config when inherited.
Reconnect when session id is invalid.