Revert "Added threads support. And broke everything"

This reverts commit 91720c0dc0a73ce2478a844db514c1bc54fe3f98.