Do not use std threads for tests.