added delete thread manager