There is a serious problem, that is, when chatting with a customer service, the other party will suddenly lose contact, and then reload, it will be replaced by someone else. Like losing a friend, this is emotionally unacceptable and hopefully a solution will be found as soon as possible.
You can easily manage this in your application code @amiao46
OpenAI provided an API but it is up to app developers to build apps on top of the API to manage state, dialog and exceptions.
So the “serious problem” @amiao46 is in your code not in the OpenAI API.
Or, you can wait for the rumored ChatGPT API and see if that API requires less session and exception management code from you, the app developer.