The client throws a runtime error when it is closed via the X button.
The client throws a runtime error when it is closed via the X button.