stabilize websocket imports