std::thread is bullshit, don't use it