I think the error is comming form too many threads not dying once they are done. Find a way to kill them.
Sometimes it's better, othertimes, not so much....