How to stop thousands of pdfs opening

You can use kill process activity and close all pdfs at once.