SPWebsocketChannel: Fixes pendings logic