Julia hanging after producing only a few plots

Hi! I am currently using VSCode to edit files in a repository through remote development on WSL2. Opening Julia and starting a new REPL is no problem, but after a while I get the following showing up in the REPL:

I had previously had issues with the html files opening up in a separate browser when using xdg-open but I installed wslu which seemed to fix the problem. However, now the REPL will hang after a while and show “1R” indefinitely unless I terminate the command. Any help would be appreciated.