WebSocket - making flush loop and callback notify more consistent