Connections are stored weirdly in global state, and doesn't properly handle disconnections
Connections are stored weirdly in global state, and doesn't properly handle disconnections