Error with the maxinum number of scripts allowed on the stack was reached.

Hi,
when I running the Sraping session on the backgroud, it printed the error info.The error info is "
ERROR--halting the scraping session because the maximum number of scripts allowed on the stack was reached. Current number on the stack is: 50.". How can I reduce of the scripts? OR what can I avoid the error?