cthread => added method release_thread()