We need some mechanism to handle the situation when a connection is closed: - An API to close a connection gracefully - What happens when connection lost? - And tests to cover
We need some mechanism to handle the situation when a connection is closed: