ADD destroyAllOntimeIntervalThreads() function