Revert "Add thread"

This reverts commit e7e8f23b89ba7f7913cb2431e62c49926bba91c6.