Do not create terminatorTask thread to avoid SEGV fault