stop using setitimer and use tgkill and our own thread to send the
signals instead.

We check /proc/<pid>/task for the list of threads and
/proc/<pid>/task/stat to check if the thread is not sleeping