Remotery: Fix inconsistent WebSocket state when some bits of the Server don't cleanup on send errors.