SPWebSocketChannel: Improving memory management