Fix compile error

Don't need this thread
fixes #1