web: Fix race condition in websocket server
web: Fix race condition in websocket server

adongy/spreads,DIYBookScanner/spreads,gareth8118/spreads,gareth8118/spreads,adongy/spreads,miloh/spreads,adongy/spreads,DIYBookScanner/spreads,gareth8118/spreads,DIYBookScanner/spreads,nafraf/spreads,nafraf/spreads,nafraf/spreads,miloh/spreads,miloh/spreads