Kill the current thread instead of the whole golang runtime (prevent race with SIGCONT)