undo using of gettid

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>