Description
The CLI socket package allows for plugins to connect to the CLI. The CLI uses this connection to signal to the plugin when to exit, based on OS termination signals. The current implementation does not allows for the plugin to reconnect to the CLI and the CLI has no way of handling multiple connections.
In the future we might want to allow for such situations. For example, the plugin might drop a connection and redial or a plugin might spawn another or the CLI might spawn multiple.
For context, please see this PR #4878