Fall back to LongPoll when websocket fails?

It seems that doesn’t work fully as expected as discussed at Live view fallback with no websocket?