Not sure about this bug. It can cause a log loop. Maybe the websocket thread can have its log disabled.