Reduce the chances of a race condition within io::process tests.