Actually use threads properly

If you don't know how to use it, don't use it.