Open
Description
After looking at our locking and state transitions, we should add intermediate connection states Connecting
and Disconnecting
. This is for better handling potential races between starting and stopping a connection.
Context: #12078 (comment)