When sending commands, in some cases the response is not shown.
This happens when there's already some recent commands in the UI and the UI relies on the websocket communication.
@pandafy please help me to replicate and fix this bug, I suspect the initial websocket connection can fail to establish, if this is the cause, we can change the code to retry to establish the connection until it works.