Fix: show correct compile error status in UI after socket connection reconnect