Update to latest rust, use std::thread