Quick'n'dirty tgkill(2) wrapper

NOTE: Killing a thread might still kill the process, so use with care.
Conditionalize the debug output