Add : delete main thread