renderPlot loops continuously with req()

That's not enough information for me to understand the problem. You will get more helpful suggestions if you follow the guidelines in the Shiny debugging and reprex guide.