Fix minour typos in threads.

Signed-off-by: simeon iliev <simeon.iliev.bg@gmail.com>