Fallback to ajax when websocket is iffy.