Remove closed WebSocket connections