You are running out of threads? Do you have rules using Thread::sleep and/or while loops? See:
Thread::sleep