fixed shared state between WebSockets