Switched to boost threads