Fixed websocket impl in admin so that it's more stable between restarts.