It's only the case when the "Jupyter: Variables" pane is open. A lot of variables are shown as loading endlessly. The problem might be that the variables are too big to show?
In such case you can try few things:
Limit variable sizes in pane
Before re-running the large cells you can selectively clear heavy variable from the namespace.