Main thread and worker thread are broken off

Signed-off-by: Youngki Ahn <avej.com@gmail.com>